<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>经理审批</title>
	</head>
	<body>
		<table border="1">
			<tr>
				<th colspan="5">经理审批</th>
			</tr>
			<tr>
				<td>申请人</td>
				<td>金额</td>
				<td>开始时间</td>
				<td>描述</td>
				<td>操作</td>
			</tr>
			<c:forEach items="${list}" var="apply">
				<tr>
					<td>${apply.user.username }</td>
					<td>${apply.salary }</td>
					<td>${apply.startTime }</td>
					<td>${apply.description }</td>
					<td><a href="applyAction!managerSubmit.action?applyId=${apply.id}&arg=1">同意</a>&nbsp<a href="applyAction!managerSubmit.action?applyId=${apply.id}&arg=0">不同意</a></td>
				</tr>
			</c:forEach>
		</table>
		<a href="userAction!logout.action">登出</a>
	</body>
</html>